pull: If built with --disable-http2, allow enabling via http2=1
authorColin Walters <walters@verbum.org>
Tue, 8 Jan 2019 14:41:26 +0000 (09:41 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 9 Jan 2019 15:04:27 +0000 (15:04 +0000)
commit308d30d0801401a0d417feb7d9ed793d668d6bfa
tree0ff303f8653c1b7398d94f6246b53fccc756c31e
parentfa35ec38b774b639e0490a12ca22a425b517a6c9
pull: If built with --disable-http2, allow enabling via http2=1

We have a `http2=[0|1]` remote config option; let's have the
`--disable-http2` build option define the default for that.  This way
it's easy to still enable http2 for testing even if
we have it disabled by default.

Closes: #1798
Approved by: jlebon
src/libostree/ostree-fetcher-curl.c
src/libostree/ostree-repo-pull.c